projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec3705
)
headerbar: Stop looking at type hints
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 6 Mar 2020 20:55:15 +0000
(12:55 -0800)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 11 Mar 2020 23:36:04 +0000
(19:36 -0400)
gtk/gtkheaderbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkheaderbar.c
b/gtk/gtkheaderbar.c
index ca56f4fba12c5bdea6509eab3b50abf1a14f2882..46454f8f6898c688800299289524c2581c5ec929 100644
(file)
--- a/
gtk/gtkheaderbar.c
+++ b/
gtk/gtkheaderbar.c
@@
-346,9
+346,8
@@
_gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
else
menu = NULL;
- is_sovereign_window = (!gtk_window_get_modal (window) &&
- gtk_window_get_transient_for (window) == NULL &&
- gtk_window_get_type_hint (window) == GDK_SURFACE_TYPE_HINT_NORMAL);
+ is_sovereign_window = !gtk_window_get_modal (window) &&
+ gtk_window_get_transient_for (window) == NULL;
tokens = g_strsplit (layout_desc, ":", 2);
if (tokens)